import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);
Vue.config.productionTip = false

//引入和配置axios\qs
import axios from 'axios'
import qs from 'qs'
Vue.prototype.$axios = axios
Vue.prototype.$qs = qs
// axios.defaults.baseURL = 'http://localhost:8888/ums_servlet_01_zyt'
// axios.defaults.baseURL = 'http://localhost:8088'
axios.defaults.baseURL = 'http://localhost:8090/'
axios.defaults.withCredentials=true//允许axios发送cookie
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
